/**
 * 
 */
package com.sci.web.action.eninfomanager;

import javax.annotation.Resource;

import com.sci.web.action.util.BaseAction;
import com.sci.web.dao.EnterpriseInfoManageDao;

/**
 * @author BaiFuyou
 * @date: Oct 31, 2011 2:41:21 PM
 * 
 * 获取更改的信息审核
 */
public class GetChangedEnterpriseInfoAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6623952481745369333L;
	@Resource
	private EnterpriseInfoManageDao enterpriseInfoManageDao;
	/**
	 * 所要查询的城市ID
	 */
	private int cityid;

	/**
	 * @return the cityid
	 */
	public int getCityid() {
		return cityid;
	}

	/**
	 * @param cityid
	 *            the cityid to set
	 */
	public void setCityid(int cityid) {
		this.cityid = cityid;
	}

	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		super.setContentType(super.JSON);
		System.out.println(cityid+"===cityid");
		super.outPrint(super.getJSONArrayString(enterpriseInfoManageDao.getChangedEnterpriseBaseInfo(cityid)));
		return "json";
	}
}
